package com.cs456.TeamBobcat;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class Teamprofile extends Activity implements OnClickListener{
	@Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.teamprofile);
        Button mybutton=(Button) findViewById(R.id.backButton);
        Button projectButton = (Button) findViewById(R.id.projectButton);
        
        mybutton.setOnClickListener(this);
        projectButton.setOnClickListener(this);
	}

			public void onClick(View k){
        		switch (k.getId()){
        		case R.id.projectButton:
        			Intent aboutIntent=new Intent(Teamprofile.this, ProjectDoc.class);
                    Teamprofile.this.startActivity(aboutIntent);
                    break;
        		case R.id.backButton:
        			finish();
        			break;
        		}
				
        	}
     
}
